import { ButtonConverterBase } from './button-base';

export class SafeButtonConverter extends ButtonConverterBase {
    public static prefix = 'sbtn-';

    protected get typer() {
        return 'CcSafeButton';
    }

    protected getName(layerName: string): string {
        return layerName.replace(SafeButtonConverter.prefix, 'btn-');
    }
}